package com.kkb.kkbportal.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author syt
 * @title DetailsScoreVo
 * @projectName kkb-parent-v2
 * @description 项目评价信息
 * @date 2021/8/15
 */
@ApiModel(value = "DetailsScoreVo", description = "用于名人堂详情中，项目评价展示的类")
@Data
public class DetailScoreVo {

    @ApiModelProperty(value = "评价主键id")
    private Long id;

    @ApiModelProperty(value = "评价人头像")
    private String masterAvatar;

    @ApiModelProperty(value = "评价人姓名")
    private String masterName;

    @ApiModelProperty(value = "评价人角色")
    private String masterRoleName;

    @ApiModelProperty(value = "被评价项目的类型")
    private String projectType;

    @ApiModelProperty(value = "评价时间")
    private LocalDateTime commentTime;

    @ApiModelProperty(value = "评价内容")
    private String msg;

    @ApiModelProperty(value = "综合评价星级1（1~5）")
    private BigDecimal averageStar;

}
